#pragma once
#include "Shape.h"
#include <GL\glut.h>
class MCamera
{
public:
	MVertex camPos, lookAt, upV;
	MVertex topV, rightV;
public:
	MCamera(const MVertex &cp, const MVertex &lc,const MVertex &up);
	MCamera(const MCamera &c);
	~MCamera(void);
	void setCamera(const MVertex &cp, const MVertex &lc,const MVertex &up);
	void updateGluLookAt();
	void translate(const float &x, const float &y, const float &z);
	void rotate(float deg, int x, int y, int z);
	void scale(float x, float y, float z);
	void rotateAroundAxis(const MVertex &v1, const MVertex &v2, float deg);
};

